SqlServerExpression<T>
Assembly: ServiceStack.OrmLite.SqlServer.Data.dll
View Source
Declaration
public class SqlServerExpression<T> : SqlExpression<T>, ISqlExpression, IHasUntypedSqlExpression, IHasDialectProvider
Methods
PrepareUpdateStatement(IDbCommand, T, Boolean)
View Source
Declaration
public override void PrepareUpdateStatement(IDbCommand dbCmd, T item, bool excludeDefaults = false)
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
<T> | item |
System.Boolean | excludeDefaults |
GetSubstringSql(Object, Int32, Nullable<Int32>)
View Source
Declaration
public override string GetSubstringSql(object quotedColumn, int startIndex, int? length = null)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | quotedColumn |
System.Int32 | startIndex |
System.Nullable<System.Int32> | length |
ToLengthPartialString(Object)
View Source
Declaration
protected override PartialSqlString ToLengthPartialString(object arg)
Returns
ServiceStack.OrmLite.PartialSqlString
Parameters
Type | Name |
---|---|
System.Object | arg |
ConvertToPlaceholderAndParameter(ref Object)
View Source
Declaration
protected override void ConvertToPlaceholderAndParameter(ref object right)
Parameters
Type | Name |
---|---|
System.Object | right |
VisitFilter(String, Object, Object, ref Object, ref Object)
View Source
Declaration
protected override void VisitFilter(string operand, object originalLeft, object originalRight, ref object left, ref object right)
Parameters
Type | Name |
---|---|
System.String | operand |
System.Object | originalLeft |
System.Object | originalRight |
System.Object | left |
System.Object | right |
ToDeleteRowStatement()
View Source
Declaration
public override string ToDeleteRowStatement()
Returns
System.String